package com.test.clyq.entity;

import com.test.entity.Item;
import com.test.json.JsonUtil;

/**
 * RegisterUser. <br>
 * 注册用户实体.
 * <p>
 * Copyright: Copyright (c) 2012-2-24 下午02:00:13
 * <p>
 * Company: 北京宽连十方数字技术有限公司
 * <p>
 * Author: liuxl@c-platform.com
 * <p>
 * Version: 1.0
 * <p>
 */

public class RegisterUser implements Item {

	/**   */
	private static final long serialVersionUID = 1L;

	/** 用户描述 */
	private String usersDesc;

	/** 用户EMAIl */
	private String usersEmail;

	/** 用户标识ID */
	private Long usersId;

	/** 用户登陆名称 */
	private String usersName;

	/** 用户密码 */
	private String usersPassword;

	/** 用户电话号码 */
	private String usersPhone;

	/** 用户状态 0：活动，-1锁定 */
	private char usersStatus = '0';

	/** 创建时间 */
	private String createTime;

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return this.usersId;
	}

	public String getUsersName() {
		return usersName;
	}

	public void setUsersName(String usersName) {
		this.usersName = usersName;
	}

	public String getUsersDesc() {
		return this.usersDesc;
	}

	public String getUsersEmail() {
		return this.usersEmail;
	}

	public String getUsersPassword() {
		return this.usersPassword;
	}

	public String getUsersPhone() {
		return this.usersPhone;
	}

	public char getUsersStatus() {
		return this.usersStatus;
	}

	public void setId(Long id) {
		this.usersId = id;
	}

	public void setUsersDesc(String usersDesc) {
		this.usersDesc = usersDesc;
	}

	public void setUsersEmail(String usersEmail) {
		this.usersEmail = usersEmail;
	}

	public void setUsersPassword(String usersPassword) {
		this.usersPassword = usersPassword;
	}

	public void setUsersPhone(String usersPhone) {
		this.usersPhone = usersPhone;
	}

	public void setUsersStatus(char usersStatus) {
		this.usersStatus = usersStatus;
	}

	public String toJSON() {
		return JsonUtil.getJsonStringFromObject(this);
	}

	public String toXML() {

		return null;
	}

}
